/*
 * @Author: your name
 * @Date: 2021-03-23 13:19:21
 * @LastEditTime: 2021-03-23 14:06:29
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /xihaf-sign-tools/src/main.js
 */
import Vue from "vue";
import App from "./App";
import Api from "./api";
import Config from "./config";

Vue.config.productionTip = false;

const NODE_ENV = process.env.NODE_ENV || "development";
const config = Config[NODE_ENV];
const api = new Api(config.apiHost, config.apiPath);
api.init();

Vue.prototype.$api = api;

App.mpType = "app";

const app = new Vue({
  ...App
});
app.$mount();
